import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { VideoModal } from './alarm-video';
import {VgCoreModule} from 'videogular2/core';
import {VgControlsModule} from 'videogular2/controls';
import {VgOverlayPlayModule} from 'videogular2/overlay-play';
import {VgBufferingModule} from 'videogular2/buffering';
import { SharedModule } from '../../shared/shared.module';
import { RouterModule } from '@angular/router';

@NgModule({
  declarations: [
    VideoModal,
  ],
  imports: [
    VgCoreModule,
    VgControlsModule,
    VgOverlayPlayModule,
    VgBufferingModule,
    SharedModule,
    RouterModule.forChild([{ path: '', component: VideoModal}])
  ],
  providers: [VideoModal],
  schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class VideoModalModule {

}
